package epinions;

import java.io.IOException;

import polarizedMF.Step1_OrdinalClassifierFinal;
import constants.Constants;
import data.MatrixSize;
import data.Param;

public class Step1_OrdinalClassifierFinal_epinions {

	public static void main(String[] arg) throws IOException {
		String dir = Constants.dir+"epinions\\epinions\\";
		String svm_dir = Constants.svm_dir+"epinions\\";
		MatrixSize size = new MatrixSize(22166, 296277);
		Param param = new Param((byte) 5, 0.02, 0.4);
		String fold = "5";
		double[] epsilons = { 0.0, 0.05, 0.1, 0.15, 0.2, 0.25 };
		String[] eps = { "0", "05", "1", "15", "2", "25" };

		for (int epsIdx = 0; epsIdx < 6; epsIdx++) {
//		int epsIdx = 5;
			Step1_OrdinalClassifierFinal step1 = new Step1_OrdinalClassifierFinal(
					svm_dir, dir, fold, epsilons[epsIdx], eps[epsIdx], size, param);

			System.out
					.println("----------------------------------------------------------------------------------------------------");
		}
	}
}
